<!--%import("filter/edit_event_price.xml")-->
<!--%import("filter/manage_checked_document.xml")-->


<div style="border-bottom:2px solid #ccc; margin:10px 0px;"><img src="layouts/yamnyam_shop_layout/images/5-1.png" width="300" height="36"></div>
<!-- 寃�� -->
<div class="fl">
    <form action="./" method="get" class="adminSearch">
    <input type="hidden" name="module" value="{$module}" />
    <input type="hidden" name="act" value="{$act}" />
    <input type="hidden" name="module_srl" value="{$module_srl}" />
    <input type="hidden" name="mid" value="{$mid}" />

        <fieldset>
            <select name="search_target">
                <option value="">{$lang->search_target}</option>
                <!--@foreach($lang->search_target_list as $key => $val)-->
                <option value="{$key}" <!--@if($search_target==$key)-->selected="selected"<!--@end-->>{$val}</option>
                <!--@end-->
            </select>
            <input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" class="inputTypeText" />
            <span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
            <a href="{getUrl('module',$module,'act',$act)}" class="button black"><span>{$lang->cmd_cancel}</span></a>
        </fieldset>
    </form>
</div>

<form id="fo_list" action="./" method="get" onsubmit="return procFilter(this, edit_event_price)">
<input type="hidden" name="page" value="{$page}" />

<!-- 紐⑸� -->
<table cellspacing="0" class="rowTable clear">
<caption>Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
<thead>
    <tr>
        <th scope="col"><div>{$lang->no}</div></th>
        <th scope="col" class="wide"><div>음식명</div></th>
        <th scope="col"><div>음식점명</div></th>
        <th scope="col"><div>기존가격</div></th>
        <th scope="col"><div>이벤트가격</div></th>
    </tr>
</thead>
<tbody>
	{@$d_srl="";}
    <!--@foreach($document_list as $no => $oDocument)-->
    <tr>
        <td class="number center">{$no}</td>
        <td class="left subject">
            <!--@if($oDocument->get('module_srl') != 0)-->
                <!--@if($oDocument->get('module_srl')==$oDocument->get('member_srl'))-->
                    {$lang->cmd_save}
                <!--@else-->
                    <a href="{getUrl('','document_srl',$oDocument->document_srl)}" onclick="window.open(this.href);return false">{$oDocument->getTitle()}</a>
                <!--@end-->
            <!--@else-->
                [{$lang->in_trash}] {$oDocument->getTitle()}
            <!--@end-->

            <!--@if($oDocument->getCommentCount())-->
                [{$oDocument->getCommentCount()}]
            <!--@end-->

            <!--@if($oDocument->getTrackbackCount())-->
                [{$oDocument->getTrackbackCount()}]
            <!--@end-->
        </td>
        
        <td class="number center">{$oDocument->getNickname()}</td>
        <td class="center"><input type="hidden" name="o_{$oDocument->document_srl}" value="{$oDocument->getExtraValue(10)}">{$oDocument->getExtraValue(10)}</a>
       	<td class="center"><input type="text" name="d_{$oDocument->document_srl}" value="{$oDocument->getExtraValue(1)}" class="inputTypeText" /></a>
    </tr>
    {@$d_srl.=$oDocument->document_srl."|@|";}
    <!--@end-->
</tbody>
</table>
<!-- 紐⑤� ��� -->
<div class="fr">
	<input type="hidden" name="d_list" value="{$d_srl}">
	<span class="button blue"><input type="submit" value="수정하기" /></span>
</div>

</form>

<!-- ���吏��ㅻ�寃����-->
<div class="pagination a1">
    <a href="{getUrl('page','','module_srl',$module_srl)}" class="prevEnd">{$lang->first_page}</a> 
    <!--@while($page_no = $page_navigation->getNextPage())-->
        <!--@if($page == $page_no)-->
            <strong>{$page_no}</strong> 
        <!--@else-->
            <a href="{getUrl('page',$page_no,'module_srl',$module_srl)}">{$page_no}</a> 
        <!--@end-->
    <!--@end-->
    <a href="{getUrl('page',$page_navigation->last_page,'module_srl',$module_srl)}" class="nextEnd">{$lang->last_page}</a>
</div>
